<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑用户区域</title>
<load type="css" href='__PUBLIC__/Css/common.css' />
<load href="__PUBLIC__/Js/color/colorPicker.js" />
<load href="__PUBLIC__/Js/jquery-1.4.min.js" />
<script  type="text/javascript">
    function updatecolor(color){
        $.ajax({
            type: "post",
            data:{ 'color':color},
            url: "__URL__/updatecolor",
            success: function(data, textStatus){
                var result =eval("("+data+")");
                 alert(result.msg);
            }
        });
    }
</script>

<style type="text/css">
html,body{
    background:{$color};
}
</style>
</head>

<body>
<div style="height:25px;background:#d8d5ce;">
    <ul class="toolbar">
        <li class="search"><input type="text" size=40/></li>
        <li><a><img src="__PUBLIC__/Images/search.jpg"/></a></li>
        <li style="font-size:14px;">搜索</li>
        <li style="float:right;margin:3px 5px;background:url(__PUBLIC__/Images/btn_edit.jpg) no-repeat"><input id="aa" type="text" value="{$color}" readOnly="true" style="cursor:pointer;width:20px;height:17px;border:none;opacity:0" onclick="colorPicker(event)"/></li>
        <li style="float:right;margin-right:5px;"><a href="__URL__/index_edit"><img src="__PUBLIC__/Images/btn_edit.png"/></a></li>
    </ul>
</div>
{$result}
</body>
</html>
